home *** CD-ROM | disk | FTP | other *** search
- Path: news.cis.nctu.edu.tw!NewsWatcher!user
- From: pmardones@itata.disca.utfsm.cl (pedro mardones)
- Newsgroups: comp.lang.c++
- Subject: How to access memory location D000:0000
- Date: 12 Jan 1996 23:48:07 GMT
- Organization: sisdef
- Message-ID: <pmardones-1201961101220001@146.83.198.30>
- NNTP-Posting-Host: @146.83.198.30
-
- I am developing an application in Borland C++ 4.5 in a 32 bits platform.
-
- My problem is how to access an specific memory location ... D000:0000
-
- In Borland C++ 4.5 over a 16 bits platform , I can access the location
- with the following code:
-
- WORD far * Address
- Address= (WORD far *) MK_FP(LOWORD(_SegD000), 0x000);
-
- Now, using Borland C++4.5, over a 32 bits, I cannot use the selector
- _D0000 and _SegD000, and also I cannot use the function MK_FP....
-
- Any idea, please.....
-
- Thanks ,
-
- Pedro Mardones
-